<?php
class ZLottery
{
	static public function Create($team_id, $user_id, $other_user_id) 
	{
		$table = new Table('lottery', array(
					'team_id' => $team_id,
					'user_id' => $user_id,
					'other_user_id' => $other_user_id,
					));
		$table->insert(array('team_id', 'user_id', 'other_user_id'));
	}
}
